package org.drools.examples.banking;

import org.kie.api.KieServices;
import org.kie.api.runtime.KieContainer;
import org.kie.api.runtime.KieSession;


public class BankingExample1 {       
    public static final void main(final String[] args) {         
        KieServices ks = KieServices.Factory.get();
        KieContainer kc = ks.getKieClasspathContainer();
        execute( kc );
    }
    public static void execute( KieContainer kc ) {
        KieSession ksession = kc.newKieSession("BankingExample1KS");                       
        ksession.insert( new Object[0] );
        ksession.fireAllRules();
        ksession.dispose();
    }
}
